Repository navigation
Let champions enter the Land of Life from its entrance menu - #3927
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
This PR is blocked by #3895. The merge conflict with Generated by Claude Code |
|
Review: stacked on #3895, so its diff and migration include #3895's. It lands after #3895, with the migration regenerated; it also conflicts with master now. 🤖 Generated with Claude Code https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn Generated by Claude Code |
|
Review: MERGE-WITH-NOTE (after #3895). Not pushed to, because it is stacked on #3895. This PR's own commit (0a45b14) adds the three Land of Life entry handlers, the 30/60/80 champion levels in Left:
Screenshots: not applicable yet, because the menu takes nobody anywhere until a capture is parsed. Once it does, capture a level-30 champion entering the Land of Life from dialog 552, and a level-29 one being refused. 🤖 Generated with Claude Code Generated by Claude Code |
0a45b14 to
9ecd6f3
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkVYHFq6wdFRBtmzrW5
Runners 151, 152 and 154 send a champion to the Land of Life recorded for the NPC under that runner, once the champion level its button names is reached: 30, 60 and 80. The parser records the trips from a capture like the other teleport menus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CUfJ471RKDxg598wGdk9z8
…Land of Life Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CUfJ471RKDxg598wGdk9z8
A shared refusal said champion level 60 for every menu, so the Land of Life, which asks for 30, and the Expert one, which asks for 80, named the wrong level. The client's line that takes the level as an argument names the right one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkVYHFq6wdFRBtmzrW5
9ecd6f3 to
3fe1f28
Compare
|
Refusal line fixed in The client test showed a champion-29 player refused at the Land of Life with "You must be champion level 60 or above". The refusal shared by every champion menu used the client's fixed line for 60. It now sends the line that takes the level as an argument, filled with that menu's own minimum: 30 for the Land of Life, 60 for the Advanced one and for the volunteers' guard, and 80 for the Expert one. Same scene as before (champion level 29, entrance menu line "Enter the Land of Life"), on this branch: Generated by Claude Code |

Builds on #3895 (merged): it uses the
Teleporter.MinimumHeroLevelcolumn and theTeleporterFarestable that PR added. No migration here.What changes for the player
The Land of Life entrance menu now answers its three entry buttons:
n_run 151n_run 152n_run 154ChampionLevelRequirementline and stays. A player with no champion level gets no answer, the same as the other champion menus.TeleporterParsernow records these three runners from a capture (n_runthenat), the same way it records the other teleport menus.TeleporterFares.MinimumHeroLevelwrites 30 / 60 / 80 on those rows.Until a capture of these trips is in
packet.txt, there are no rows for them, so the menu still takes nobody anywhere.Tests
ChampionAreaTravelHandlerTests: 18/18 passed. The handlers, the map change mock, the teleporter rows and the monster catalog now come from the test world. New: the runner mapping for the three handlers; levels 30, 60 and 80 enter the Land of Life, the Advanced one and the Expert one; levels 29, 59 and 79 are refused withChampionLevelRequirement.TeleporterParserTests: 22/22 passed. New: the champion level for each Land of Life runner, and a captured Advanced Land of Life entry stored with level 60 and no fare.dotnet build NosCore.sln: no warnings, no errors.Manual checks (added to
documentation/manual-test-plan.md)Client check
No capture of the trip is parsed yet, so the scene adds one row by hand: an NPC with dialog 552 beside Tester on Chicken Farm Path, and a
Teleporterrow for it under runner 151 to map 2750 (121,122) withMinimumHeroLevel30. Tester is level 90; the champion level changes per shot. The menu line pressed is "Enter the Land of Life (Champion Level: 30-64)", which sendsn_run 151 0.n_run 151.at 1 2750 121 122,c_map 0 2750 1; the map box reads Land of Life.msgi 0 2669. The client rendersChampionLevelRequirementas "You must be champion level 60 or above to enter this region.", which is wrong for the Land of Life's 30-64 range. This is the "refusal line below the range" doubt listed below, now seen in the client.Not done
Nothing in the client data or the stored traces gives these, so they wait for a capture:
packet.txt.ChampionLevelRequirementfrom the volunteers' guard. The client also hasYouCannotEnterLandOfLife,LandOfLifeOnlyFamilyMemberandEnterLandOfLifeQuestion, but no trace shows when each is sent.n_run 153(CheckLandOfLifeTime/RemainingLandOfLifeTime). The allowance is unknown.n_run 448(Celestial Spire Catacombs) needs a family raid capture.n_run 196is a quest button (GetQuestForTheRealmOfHeroes), not a trip.Part of #3374
https://claude.ai/code/session_01CUfJ471RKDxg598wGdk9z8
Generated by Claude Code